package com.pcbly.web.persistence.config;

import java.util.*;


import com.pcbly.web.bean.system.ConfigBean;
import com.pcbly.web.persistence.BaseDao;


public interface ConfigDao extends BaseDao<ConfigBean> {

  /**
   *
   * @param config Config
   * @return Config
   */
  //public Config saveConfig(Config config);

  /**
   * 更新Config对象
   * @param config Config
   * @return Config
   */
  public ConfigBean updateConfig(ConfigBean config) throws Exception;

  /**
   * 根据ID查找Config对象
   * @param id String
   * @return Config
   */
  public ConfigBean findConfigByID(String id) throws Exception;

  /**
   * 取得Config列表
   * @return List
   */
  public List<ConfigBean> findConfigs() throws Exception;

}
